//
//  QuickRegisterViewController.h
//  OrderSeat
//
//  Created by haiming on 13-10-4.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    FastRegister,
    ValidateTel
}RegisterType;

@class QuickRegisterDataSource;
@interface QuickRegisterViewController : BaseViewController

@property (strong, nonatomic) IBOutlet UIView *contentView;
@property (strong, nonatomic) IBOutlet UITextField *phoneNumberTF;
@property (strong, nonatomic) IBOutlet UITextField *verifyNumberTF;

@property (strong, nonatomic) QuickRegisterDataSource *dataSource;
@property (assign, nonatomic) BOOL isRegister;
@property (strong, nonatomic) NSString *registerTel;
@property (strong, nonatomic) NSString *tel;
@property (strong, nonatomic) NSString *verify;
@property (assign, nonatomic) RegisterType type;

- (id)initWithType:(RegisterType)type;

@end

@interface QuickRegisterDataSource : BaseDataSource

@property (nonatomic, strong) QuickRegisterViewController *Controller;

- (void)sendSMS;
- (void)fastRegister;

@end
